/**
 * 
 */
package org.andes.base;

import org.andes.kownledge.operator.Variable;
import org.armedbear.lisp.LispObject;

class Binding{
	
	public Binding(){
		
	}
	public Binding(Variable var,Object val){
		this.var=var;
		this.val=val;
		
	}
		private Variable var;
		public Variable getVar() {
			return var;
		}
		public void setVar(Variable var) {
			this.var = var;
		}
		public Object getVal() {
			return val;
		}
		public void setVal(Object val) {
			this.val = val;
		}
		private Object val;
		
		
//		(defun binding-var (binding)
//		  "Get the variable part of a single binding."
//		  (car binding))
		public Variable binding_var(){
			return var;			
		}
//		(defun binding-val (binding)
//		  "Get the value part of a single binding."
//		  (cdr binding))
		public Object binding_val(){
			return val;
		}

//		(defun make-binding (var val) (cons var val))
		public void make_binding(){
			
		}
		public String toString(){
			return var.toString()+"="+val.toString();
		}
		
	}